import React, { Suspense } from "react"
import { createRoot } from "react-dom/client"
import { createHashRouter, RouterProvider } from "react-router-dom"
import { routes } from "./routes"
import "@/i18n"
import "@/styles/index.scss"

createRoot(document.getElementById("root")!).render(
    <Suspense fallback={null}>
        <RouterProvider router={createHashRouter(routes)} />
    </Suspense>
)
